<title>QQ空间签到 设置</title>
<div class="p5">
    <div class="lan bold">[每日自动] QQ空间日历签到</div>
    <hr/>
    <form role="form" id="qqsetgn" onsubmit="return false;"> <input type="hidden"
                                                                                                           name="qid"
                                                                                                           value="{$job.qid}">
    <input type="hidden" name="id" value="{$job.uid}">
    <div class="pt2 pb2 in-text bold">
        <dt class="f4 pr5">功能开关</dt>
        <dd><label class="i-checks"><input type="radio" value="0" name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 0"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                           ><i></i>关闭功能</label>
            <label class="i-checks ml4"><input type="radio" value="1"  name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 1"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                               ><i></i>开启功能</label>
        </dd>
    </div>
    <hr/>
        <div class="pt4 pb3">
            <div><font class="f4 bold">签到内容</font><font class="ml4 f2 hui dl">留空时系统使用随机语录进行签到</font></div>
            <div class="mt2"><textarea type="text" class="form w b" name="con" placeholder="签到内容" rows="3"
                                       autocomplete="off">{$job.data}</textarea></div>
        </div>
    </form>
    <div class="pt6 pb4">
        <button class="btn btn-qing btn-md btn-block rx1" onclick="ajax_gnset_qd();">保 存 设 置</button>
    </div>
</div>
<script type="text/javascript">
    function ajax_gnset_qd() {
        var data = $("#qqsetgn").serialize();
        x.ajax('{:url('pc_ajax/gnset',['act'=>'qd'])}', data);
    }
</script>